package com.my.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 日报
 * </p>
 *
 * @author 冯政尚
 * @since 2018-09-26
 */
@TableName("day")
public class Day extends Model<Day> {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
	private Long id;
    /**
     * 今日完成工作
     */
	@TableField("toDay")
	private String toDay;
    /**
     * 未完成工作
     */
	private String hang;
    /**
     * 需协调工作
     */
	private String coordinate;
    /**
     * 备注
     */
	private String remarks;
	/**
	 * 创建时间
	 */
	@TableField("createTime")
	private Long createTime;

	/**
	 * 姓名
	 */
	private String name;

	@TableField("areaid")
	private Long areaid;


	public Long getAreaid() {
		return areaid;
	}

	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getToDay() {
		return toDay;
	}

	public void setToDay(String toDay) {
		this.toDay = toDay;
	}

	public String getHang() {
		return hang;
	}

	public void setHang(String hang) {
		this.hang = hang;
	}

	public String getCoordinate() {
		return coordinate;
	}

	public void setCoordinate(String coordinate) {
		this.coordinate = coordinate;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Day{" +
				"id=" + id +
				", toDay='" + toDay + '\'' +
				", hang='" + hang + '\'' +
				", coordinate='" + coordinate + '\'' +
				", remarks='" + remarks + '\'' +
				", createTime=" + createTime +
				", name='" + name + '\'' +
				'}';
	}
}
